package cuiyt.datastructure.queue.queue;
/**
 * @author cyt
 * @create 2020-12-05 18:05
 */
public class QueueTest {

    public static void main(String[] args) {
        Queue<Integer> queue = new Queue<>();
        queue.enQueue(1);
        queue.enQueue(2);
        queue.enQueue(3);
        queue.enQueue(4);
        queue.enQueue(5);

        System.out.println(queue.dnQueue());
        System.out.println(queue.dnQueue());
        System.out.println(queue.dnQueue());
        System.out.println(queue.front());
        System.out.println(queue.dnQueue());
        System.out.println(queue.dnQueue());
    }
}
